package com.cinc.mdm.modules.movementType.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 移动类型
 * @Author: jeecg-boot
 * @Date:   2022-04-09
 * @Version: V1.0
 */
@Data
@TableName("mdm_movement_type")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="mdm_movement_type对象", description="移动类型")
public class MdmMovementType implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**编码*/
	@Excel(name = "编码", width = 15)
    @ApiModelProperty(value = "编码")
    private java.lang.String typeNo;
	/**名称*/
	@Excel(name = "名称", width = 15)
    @ApiModelProperty(value = "名称")
    private java.lang.String typeName;
	/**借贷标识*/
	@Excel(name = "借贷标识", width = 15, dicCode = "mdm_dc_flag")
	@Dict(dicCode = "mdm_dc_flag")
    @ApiModelProperty(value = "借贷标识")
    private java.lang.String dcFlag;
	/**凭证类型*/
	@Excel(name = "凭证类型", width = 15, dicCode = "mdm_voucher_type")
	@Dict(dicCode = "mdm_voucher_type")
    @ApiModelProperty(value = "凭证类型")
    private java.lang.String voucherType;
	/**凭证更新*/
	@Excel(name = "凭证更新", width = 15, dicCode = "yn")
	@Dict(dicCode = "yn")
    @ApiModelProperty(value = "凭证更新")
    private java.lang.String voucherFlag;
    /**出入标志*/
    @Excel(name = "出入标志", width = 15, dicCode = "mm_io_flag")
    @Dict(dicCode = "mm_io_flag")
    @ApiModelProperty(value = "出入标志")
    private java.lang.String ioFlag;
    /**冲销标志*/
    @Excel(name = "冲销标志", width = 15)
    @ApiModelProperty(value = "冲销标志")
    private java.lang.String cancelFlag;
    /**其它出入库*/
    @Excel(name = "其它出入库", width = 15)
    @ApiModelProperty(value = "其它出入库")
    private java.lang.String otherFlag;
	/**反向移动类型*/
	@Excel(name = "反向移动类型", width = 15, dictTable = "mdm_movement_type", dicText = "type_name", dicCode = "id")
	@Dict(dictTable = "mdm_movement_type", dicText = "type_name", dicCode = "id")
    @ApiModelProperty(value = "反向移动类型")
    private java.lang.String reverseId;
	/**事务关键字*/
	@Excel(name = "事务关键字", width = 15)
    @ApiModelProperty(value = "事务关键字")
    private java.lang.String businessKey;
	/**科目修改*/
	@Excel(name = "科目修改", width = 15)
    @ApiModelProperty(value = "科目修改")
    private java.lang.String accountKey;
	/**启用标志*/
	@Excel(name = "启用标志", width = 15)
    @ApiModelProperty(value = "启用标志")
    private java.lang.String enableFlag;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remark;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**租户ID*/
	@Excel(name = "租户ID", width = 15)
    @ApiModelProperty(value = "租户ID")
    private java.lang.Integer tenantId;
}
